﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;
using WalkingTec.Mvvm.Core.Extensions;
using TyMES.Model.BaseInformation;


namespace TyMES.ViewModel.BaseInformation.CodeTypeVMs
{
    public partial class CodeTypeTemplateVM : BaseTemplateVM
    {
        [Display(Name = "条码类型名称")]
        public ExcelPropety CodeName_Excel = ExcelPropety.CreateProperty<CodeType>(x => x.CodeName);
        [Display(Name = "条码描述")]
        public ExcelPropety CodeDescribe_Excel = ExcelPropety.CreateProperty<CodeType>(x => x.CodeDescribe);
        [Display(Name = "条码正则")]
        public ExcelPropety CodeRegex_Excel = ExcelPropety.CreateProperty<CodeType>(x => x.CodeRegex);

	    protected override void InitVM()
        {
        }

    }

    public class CodeTypeImportVM : BaseImportVM<CodeTypeTemplateVM, CodeType>
    {

    }

}
